package com.miguo.framework.scan.zbar;

import com.miguo.framework.utils.Log;

public class ZbarManager {

    static {
        try {
            System.loadLibrary("zbar");
        } catch (UnsatisfiedLinkError ule) {
            Log.e("zbar load error");
        }
    }

    public native String decode(byte[] data, int width, int height, boolean isCrop, int x, int y, int cwidth, int cheight);

}
